const mongoose = require('mongoose');
let prodSchema = new mongoose.Schema({
    prodCategory: String,
    prodSubClass:String,
    prodImage:Array,
    prodSupTitle:String,
    prodSubTitle:String,
    originPrice:String,
    currentPrice:String,
    isPublish:{
        type:Boolean,
        require:true,
        default:false
    }
});
let Prod = mongoose.model('prod', prodSchema);
module.exports = Prod;

